<ion-header [translucent]="true">
  <ion-toolbar>
    <ion-buttons slot="start">
      <ion-back-button></ion-back-button>
    </ion-buttons>
    <ion-title> 修改 </ion-title>
  </ion-toolbar>
</ion-header>
<ion-content [fullscreen]="true">
  <ion-grid class="content">
    <ion-textarea
      [autoGrow]="true"
      [(ngModel)]="sentence.englishText"
      class="sentence"
      [spellcheck]="true"
      (ionChange)="change($event)"
    ></ion-textarea>
    <ion-textarea
      [autoGrow]="true"
      [(ngModel)]="sentence.chineseText"
      class="sentence"
      (ionChange)="change($event)"
    ></ion-textarea>

    <ion-button [disabled]="!isDirty" (click)="save()" class="btn"
      >保存</ion-button
    >
  </ion-grid>
</ion-content>
